﻿@{
    ViewBag.Title = "LoginPaid";
}
<script>
    function isEmail(s) {
        var reEmail = /^.+\@.+\..+$/;
        return reEmail.test(s)
    }

    function ValidateData() {        
        if ($('#iptEmail').val().length == 0) {
            alert('Enter your Email Address');
            $('#iptEmail').focus();
            return;
        }        
        if (isEmail($('#iptEmail').val()))
        { }
        else {
            alert("Please state a valid email address\nzzz@xxx.yy");
            $('#iptEmail').focus();
            return;
        }
        if ($('#iptPassWord').val().length == 0) {
            alert('Enter password');
            $('#iptPassWord').focus();
            return;
        }
        document.forms['frmLoginPaid'].submit();     
    }
</script>
<form method="post" action="/Member/LoginPaid" id="frmLoginPaid">
    <table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tbody><tr>
            <td align="left">
                <table width="100%" cellspacing="2" cellpadding="5" align="center" border="0">
                    <tbody><tr align="center" bgcolor="#525E54">
                        <td height="25" colspan="2">
                            <font face="arial" size="2" color="#FFFFFF"><strong>Your email account already exists.You must be logged in to the system and then renew!</strong></font>
                        </td>
                    </tr>
                    <tr><td colspan="2" style="height: 20px;">&nbsp;</td></tr>
                    <tr bgcolor="#FFFFFF">
                        <td style="width: 20%">&nbsp;&nbsp;&nbsp;&nbsp;E-Mail&nbsp;<span style="color: Red"><b>*</b></span><br></td>
                        <td>&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="email" id="iptEmail" style="width: 60%"></td>
                    </tr>
                    <tr valign="top" bgcolor="#FFFFFF">
                        <td>&nbsp;&nbsp;&nbsp;&nbsp;Password&nbsp;<span style="color: Red"><b>*</b></span></td>
                        <td>&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="pass" id="iptPassWord" style="width: 60%"></td>
                    </tr>
                    <tr valign="top" bgcolor="#FFFFFF">
                        <td>&nbsp;</td>
                        <td>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name="submitLoginPaid" value="Login" onclick="ValidateData()">
                            <input type="button" name="cance" value="Cancel">
                            <a href="/Member/ForgotPassword">
                                Forgot Password
                            </a>
                        </td>
                    </tr>
                    <tr valign="top" bgcolor="#FFFFFF">
                        <td colspan="2"> &nbsp;</td>
                    </tr>
                </tbody></table>
            </td>
        </tr>
    </tbody></table>
</form>

